//
//  VIZTempVC.swift
//  VIZ微博
//
//  Created by 位立志 on 16/4/8.
//  Copyright © 2016年 位立志. All rights reserved.
//

import UIKit

class VIZTempVC: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        
        view.backgroundColor = UIColor.whiteColor()
        
        navigationItem.rightBarButtonItem = UIBarButtonItem(imageName: "navigationbar_friendsearch",  target: self, action: "push")
    
    }

    @objc private func push() {
        //print("pop")
        let temp = VIZTempVC()
        //push到子页面
        navigationController?.pushViewController(temp, animated: true)
        
        
    }

    
    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
    

}
